package org.lq.us.util;

import org.lq.us.commons.ConfigConstant;

public class ConfigHelper {
	
	public static String getUploadPath() {
		return PropsUtil.getString(PropsUtil.loadProps(ConfigConstant.COMMONS_FILE), ConfigConstant.UPLOAD_PATH);
	}
	
	public static int PageSize() {
		String pageSize = PropsUtil.getString(PropsUtil.loadProps(ConfigConstant.COMMONS_FILE), ConfigConstant.PAGE_SIZE);
		return Integer.parseInt(pageSize);
	}
	public static String getProjectName() {
		return PropsUtil.getString(PropsUtil.loadProps(ConfigConstant.COMMONS_FILE), ConfigConstant.PROJECT_NAME);
	}
	public static String getProjectAllow() {
		return PropsUtil.getString(PropsUtil.loadProps(ConfigConstant.COMMONS_FILE), ConfigConstant.PROJECT_ALLOW);
	}
	
	public static String NewWordImgPath() {
		return PropsUtil.getString(PropsUtil.loadProps(ConfigConstant.COMMONS_FILE), ConfigConstant.NETWORD_IMG_PATH);
	}
	

}
